#ifndef SWMAINWINDOW_H
# define SWMAINWINDOW_H

# include <QMainWindow>
# include <QTabWidget>
# include <QLineEdit>

class SWMainWindow : public QMainWindow
{
    Q_OBJECT

public:
    SWMainWindow();

private:
    QWidget *display;
    QLineEdit *m_serverPortEdit;
    QLineEdit *m_clientAddrEdit;
    QLineEdit *m_clientPortEdit;

    void createDisplay();
    int validatePort(QString);

private slots:
    void clientStartClicked(bool);
    void serverStartClicked(bool);
    void spoofClientClick();
    void spoofServerClick();
};

#endif
